﻿using Prism.Ioc;
using Prism.Modularity;
using Prism.Mvvm;
using Prism.Regions;

using PrismModule.WorkFile.Views;
using System;
using System.Collections.Generic;
using System.Text;

namespace PrismModule.WorkFile
{
    public class WorkFileModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {
            //ViewModelLocationProvider.Register<PUC_AddWorkFile, PUC_AddWorkFileViewModel>();
            //_regionManager.RegisterViewWithRegion("EditWorkFileContent",typeof(PUC_AddWorkFile));
        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            //注册为导航界面
            containerRegistry.RegisterForNavigation<PUC_AddWorkFile>();
            containerRegistry.RegisterForNavigation<PUC_ShowWorkFile>();
            containerRegistry.RegisterForNavigation<PUC_WorkFile>();
        }
    }
}